package com.itestor.iptv.global.exception;


/**
 * 
 * @author Mr.li
 *
 */
public class WebApplicationException extends RuntimeException {

	/**
	 * serialVersionUID.
	 */
	private static final long serialVersionUID = 6829134600773407449L;

	/**
	 * 对应模块.
	 */
	private String bundle = null;

	/**
	 * @param errorMessage 异常信息
	 */
	public WebApplicationException(String errorMessage) {
		super(errorMessage);
	}

	/**
	 * @param errorMessage 异常信息
	 * @param pBundle 对应模块
	 */
	public WebApplicationException(String errorMessage, String pBundle) {
		super(errorMessage);
		this.bundle = pBundle;
	}

	/**
	 * @return the bundle
	 */
	public String getBundle() {
		return bundle;
	}

	/**
	 * @param pBundle the bundle to set
	 */
	public void setBundle(String pBundle) {
		this.bundle = pBundle;
	}
}
